package spring.cloud.feign.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="spring-cloud-eureka-client", fallbackFactory=GreetingClientFallbackFallbackFactory.class)
public interface GreetingClient {
	
	@RequestMapping("/greeting")
	String greeting();
}
